package com.ultimatech.webapp;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.support.SpringBootServletInitializer;
import org.springframework.context.ConfigurableApplicationContext;

/**
 * Created by zhangleping on 16/10/17.
 */
@SpringBootApplication
public class WebApp extends SpringBootServletInitializer {

    private static Logger logger = LoggerFactory.getLogger(WebApp.class);

    public static void main(String[] args) {
        logger.info("应用启动");
        ConfigurableApplicationContext ctx = SpringApplication.run(WebApp.class, args);

    }

}
